package com.spark.lola.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spark.lola.entity.statistics.StatisticsStoreProduct;
import com.spark.lola.entity.statistics.StatisticsSupplier;
import com.spark.lola.support.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: DengYeJun
 * @Date: 2020/6/15 16:53
 */
public interface StatisticsSupplierMapper extends BaseMapper<StatisticsSupplier> {
    StatisticsSupplier findOne(@Param("parentId") Long parentId, @Param("createDate") String createDate);

    Page<StatisticsSupplier> page(Page page, @Param("groupType") Integer groupType, @Param(Constants.WRAPPER) Wrapper wrapper);

}
